//
//  AVCapturePreviewView.h
//  CaptureDemo
//
//  Created by 苏沫离 on 2018/9/11.
//  Copyright © 2018年 苏沫离. All rights reserved.
//

#import <UIKit/UIKit.h>

FOUNDATION_EXPORT UIImage * const resourceImage(NSString *imageName);






@protocol AVCapturePreviewViewDelegate<NSObject>

//聚焦曝光
- (void)focusAndExposeTapLocation:(CGPoint)tapPoint;

@end



@class AVCaptureSession,AVCaptureVideoPreviewLayer;
@interface AVCapturePreviewView : UIView

@property (nonatomic ,weak) id <AVCapturePreviewViewDelegate> delegate;
@property (nonatomic ,readonly) AVCaptureVideoPreviewLayer *videoPreviewLayer;
@property (nonatomic ,strong) AVCaptureSession *session;


@end
